package com.proton.carepatchtemp.utils.eventbus;


import com.proton.carepatchtemp.constant.Codes;
import com.proton.carepatchtemp.constant.Extras;

public class BaseEvent {
    protected int id = Codes.DEFAULT;
    protected Object obj = new Object();
    protected String msg = "";
    protected String ret = Extras.RET_S;

    public BaseEvent(int id, String ret, String msg, Object obj) {
        this.id = id;
        this.obj = obj;
        this.msg = msg;
        this.ret = ret;
    }

    public BaseEvent(int id, Object obj) {
        this.id = id;
        this.obj = obj;
    }

    public BaseEvent(int id, String ret, String msg) {
        this.id = id;
        this.ret = ret;
        this.msg = msg;
    }

    public BaseEvent(int id) {
        this.id = id;
    }

    public BaseEvent() {

    }

    public int getId() {
        return id;
    }

//    public void setId(int deviceId) {
//        this.deviceId = deviceId;
//    }

    public Object getObj() {
        return obj;
    }

//    public void setObj(Object obj) {
//        this.obj = obj;
//    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getRet() {
        return ret;
    }
//
//    public void setRet(String ret) {
//        this.ret = ret;
//    }
}
